|
| | Camera () |
| |
| | ~Camera () |
| |
| float | getNear () const |
| |
| float | getFar () const |
| |
| Frustum & | getFrustum () |
| |
| nkMemory::StringView | getName () const |
| |
| float | getFov () const |
| |
| float | getAspectRatio () const |
| |
| bool | getHidden () const |
| |
| const nkMaths::Matrix & | getViewMatrix () |
| |
| const nkMaths::Matrix & | getProjectionMatrix () |
| |
| nkMaths::Matrix | getViewProjMatrix () |
| |
| virtual void | setPositionRelative (const nkMaths::Vector &value) override |
| |
| virtual void | setPositionAbsolute (const nkMaths::Vector &value) override |
| |
| virtual void | translateRelative (const nkMaths::Vector &value) override |
| |
| virtual void | translateAbsolute (const nkMaths::Vector &value) override |
| |
| virtual void | setOrientationRelative (const nkMaths::Quaternion &value) override |
| |
| virtual void | setOrientationAbsolute (const nkMaths::Quaternion &value) override |
| |
| virtual void | rotateRelative (const nkMaths::Quaternion &value) override |
| |
| virtual void | rotateAbsolute (const nkMaths::Quaternion &value) override |
| |
| virtual void | setScaleRelative (const nkMaths::Vector &value) override |
| |
| virtual void | setScaleAbsolute (const nkMaths::Vector &value) override |
| |
| virtual void | applyScale (const nkMaths::Vector &value) override |
| |
| void | setNear (float value) |
| |
| void | setFar (float value) |
| |
| void | setName (const nkMemory::StringView &name) |
| |
| void | setFov (float radianValue) |
| |
| void | setAspectRatio (float widthOnHeight) |
| |
| void | prepareForContext (RenderContext *context) |
| |
| void | setAutoUpdateOnContextSwitch (bool value) |
| |
| void | setHidden (bool value) |
| |
| void | updateViewMatrix () |
| |
| void | updateProjectionMatrix () |
| |
| void | lookAt (const nkMaths::Vector &point, const nkMaths::Vector &enforcedUp=nkMaths::Vector(0, 0, 0, 0)) |
| |
| void | getNearPlanePoints (nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d) |
| |
| void | getFarPlanePoints (nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d) |
| |
| void | getFrustumCornersDirectionsWorld (nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d) |
| |
| void | getFrustumCornersDirectionsView (nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d) |
| |
| nkMaths::Vector | getDirectionAtPixelWorld (int x, int y, RenderContext *context=nullptr) |
| |
| nkMaths::Vector | getDirectionAtScreenCoordWorld (float x, float y) |
| |
| nkMaths::Vector | getDirectionAtPixelView (int x, int y, RenderContext *context=nullptr) |
| |
| nkMaths::Vector | getDirectionAtScreenCoordView (float x, float y) |
| |
| virtual void | exportClassToTree (nkExport::Node *rootNode) |
| |
| virtual void | importClassFromTree (nkExport::Node *rootNode) |
| |
| nkMaths::Vector | getPositionRelative () const |
| |
| nkMaths::Vector | getPositionAbsolute () |
| |
| nkMaths::Quaternion | getOrientationRelative () const |
| |
| nkMaths::Quaternion | getOrientationAbsolute () |
| |
| nkMaths::Vector | getScaleRelative () const |
| |
| nkMaths::Vector | getScaleAbsolute () |
| |
| nkMaths::Matrix | getLocalTransform () |
| |
| nkMaths::Matrix | getAbsoluteTransform () |
| |
| void | updateTransformations () |
| |
| void | dispatchDirtyTransform () |
| |
| nkMaths::Vector | getAbsoluteUp () |
| |
| nkMaths::Vector | getAbsoluteFront () |
| |
| nkMaths::Vector | getAbsoluteRight () |
| |
| Node * | getParentNode () const |
| |
| Node * | addChildNode () |
| |
| Node * | addChildNode (const nkMemory::StringView &name) |
| |
| void | addChildNode (Node *node) |
| |
| Node * | getChildNode (unsigned int index) const |
| |
| unsigned int | getNumChildNode () const |
| |
| void | insertIntoTreeFrom (Node *parent) |
| |
| void | detachFromTree () |
| |
| nkMemory::StringView | getName () const |
| |
| bool | getHidden () const |
| |
| void | setHidden (bool value) |
| |
| void | addEntityToTrack (Entity *entity) |
| |
| void | stopEntityTracking (Entity *entity) |
| |
| unsigned int | getTrackedEntityCount () const |
| |
| Entity * | getTrackedEntity (unsigned int index) const |
| |
| void | registerListener (NodeChangeListener *listener) |
| |
| void | unregisterListener (NodeChangeListener *listener) |
| |
| | Exportable () |
| |
| virtual | ~Exportable () |
| |
Offers all controls to model a camera.